home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 2.iso
/
dist
/
fw_hylafax.idb
/
usr
/
freeware
/
catman
/
u_man
/
cat1
/
pagesend.Z
/
pagesend
Wrap
Text File
|
2002-07-08
|
5KB
|
95 lines
PAGESEND(${MANNUM1_8}) PAGESEND(${MANNUM1_8})
NNAAMMEE
pagesend - _H_y_l_a_F_A_X IXO/TAP and UCP transmit program
SSYYNNOOPPSSIISS
$${{LLIIBBEEXXEECC}}//ppaaggeesseenndd [ --ll ] [ --pp ] [ --cc _c_o_n_f_i_g ] --mm _d_e_v_i_c_e_-
_I_D _q_f_i_l_e
DDEESSCCRRIIPPTTIIOONN
_p_a_g_e_s_e_n_d is the program that implements the IXO/TAP and
the UCP transmission protocol for the _H_y_l_a_F_A_X system.
_p_a_g_e_s_e_n_d is invoked by the _f_a_x_q scheduler process for each
pager transmit attempt. _p_a_g_e_s_e_n_d assumes that its current
working directory is the top of the spooling hierarchy and
that a suitable modem device has been allocated for its
use. In normal use _p_a_g_e_s_e_n_d will inherit a lockfile for
the modem from the _f_a_x_q process. The format of the job
description file specified on the command line is
described in _s_e_n_d_q(${MANNUM4_5}).
_p_a_g_e_s_e_n_d initializes the modem before attempting to trans
mit the pager message using the information in the appro
priate modem configuration file. If the modem does not
respond to this initialization, _p_a_g_e_s_e_n_d will repeatedly
try to initialize the modem. This behaviour is required
for send-only environments in which a _f_a_x_g_e_t_t_y(${MAN
NUM1_8}) process is not run (and the modem would be known
to be in a properly initialized state). _p_a_g_e_s_e_n_d catches
SIGINT and SIGTERM and cleans up any resources it con
trols; this is the mechanism used by _f_a_x_q to abort a job
while it is in progress.
Many aspects of _p_a_g_e_s_e_n_d operation are controlled through
a configuration file. The configuration file is located
in the spooler hierarchy in the eettcc subdirectory and is
named ccoonnffiigg.._d_e_v_i_c_e_-_I_D;; consult _h_y_l_a_f_a_x_-_c_o_n_f_i_g(${MAN
NUM4_5}) for detailed information on the contents of con
figuration files.
The protocol which must be used for a specific service
provider is controled from the _h_y_l_a_f_a_x_-_i_n_f_o(${MANNUM4_5})
file.
OOPPTTIIOONNSS
--cc _c_o_n_f_i_g Treat _c_o_n_f_i_g as a configuration parameter speci
fication that is interpreted after reading the
per-device configuration file. For example,
``-c sessiontracing:0x4f'' would set the SSeess
ssiioonnTTrraacciinngg configuration parameter to ``0x4f'',
overriding any setting in the configuration
file.
--mm _d_e_v_I_D The device to use in processing the job. Note
that this is a _d_e_v_i_c_e _i_d_e_n_t_i_f_i_e_r and not the
pathname of the tty special file. A device
identifier is formed from a device filename by
removing any leading ``/dev/'' and converting
any ``/'' characters to ``_'' characters.
--ll Do the UUCP lockfile protocol in _p_a_g_e_s_e_n_d. By
default _p_a_g_e_s_e_n_d assumes that it is invoked with
the device already locked and that it does not
need to manage the lockfile.
--pp Do not change the process priority when trans
mitting. Normally _p_a_g_e_s_e_n_d will raise its pri
ority to reduce i/o latency. This option is
useful for debugging.
NNOOTTEESS
_p_a_g_e_s_e_n_d returns the new job status to _f_a_x_q through the
_e_x_i_t(2) return value of the process: _s_e_n_d___r_e_t_r_y (0), retry
job; _s_e_n_d___f_a_i_l_e_d (1), job finished without success,
_s_e_n_d___d_o_n_e (2), job completed successfully, _s_e_n_d___r_e_f_o_r_m_a_t
(3), job should be retried after documents are reformat
ted.
FFIILLEESS
${SPOOL}/etc/config.devID device-specific configura
tion file
Consult _h_y_l_a_f_a_x_-_s_e_r_v_e_r(${MANNUM4_5}) for a complete dis
cussion of the structure and content of the spooling area.
SSEEEE AALLSSOO
_f_a_x_q(${MANNUM1_8}), _h_y_l_a_f_a_x_-_s_e_r_v_e_r(${MANNUM4_5}), _h_y_l_a_f_a_x_-
_c_o_n_f_i_g(${MANNUM4_5}), _h_y_l_a_f_a_x_-_i_n_f_o(${MANNUM4_5})
October 3, 1995 PAGESEND(${MANNUM1_8})